package org.equivalence.common;

/**
 * This interface is the common area of functionality extended by
 * both the client and servers interfaces (IClient and IServer respectively).
 * 
 * @author Jonathan Giles
 */
public interface IConnection extends Runnable {
	public void setServerPort(int port);
	public int getServerPort();
	public void addDirectory(String directory);
	public void clearDirectories();
	public String getDirectory(int i);
	public void removeDirectory(int i);
	public int getDirectoryCount();
	public void addExcludeFile(String filename);
	public void removeExcludeFile(String filename);
}
